package po

import "time"

type InfraTreeNode struct {
	Name  string      `json:"name" yaml:"name"`
	Type  string      `json:"type" yaml:"type"`
	Guid  string      `json:"guid" yaml:"guid"`
	State string      `json:"state" yaml:"state"`
	Info  interface{} `json:"info" yaml:"info"`
	//ChildAlive int         `json:"child_alive" yaml:"child_alive"`
	ChildSize int       `json:"child_size" yaml:"child_size"`
	Create    time.Time `json:"create_time" yaml:"create_time"`
	Update    time.Time `json:"update_time" yaml:"update_time"`
}

func (obj *InfraTreeNode) TableName() string {
	return "infra"
}
